package user;

import book.BookList;
import ioperation.IOPeration;
/**
 * @Description
 */

public abstract class User{

    public String name;

    public IOPeration[] IOPerations;//没有初始化


    public User(String name) {
        this.name = name;
    }

    public abstract int menu();

    public void doOperation(int choice, BookList books){
         IOPeration IOPerations = this.IOPerations[choice];
         IOPerations.work(books);

    }
}
